home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm - add an item to the ComboBox widget SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/ComboBox.h> vvvvooooiiiidddd XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm( WWWWiiiiddddggggeeeetttt wwww, XXXXmmmmSSSSttttrrrriiiinnnngggg iiiitttteeeemmmm, iiiinnnntttt ppppoooossss, BBBBoooooooolllleeeeaaaannnn uuuunnnniiiiqqqquuuueeee); VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm function adds the given item to the XmComboBox at the given position. The _w argument specifies the XmComboBox widget ID. The _i_t_e_m argument specifies the XXXXmmmmSSSSttttrrrriiiinnnngggg for the new item. The _p_o_s argument specifies the position of the new item. The _u_n_i_q_u_e argument specifies if this item should duplicate an identical item or not. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE The XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm function returns no value. AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE The functions XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxAAAAddddddddIIIItttteeeemmmm and XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxDDDDeeeelllleeeetttteeeePPPPoooossss have different naming conventions (Item versus Pos) because of the objects they are manipulating. The Item is a string to be added, the Pos is a numeric position number. SSSSEEEEEEEE AAAALLLLSSSSOOOO XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxDDDDeeeelllleeeetttteeeePPPPoooossss(3), XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxSSSSeeeettttIIIItttteeeemmmm(3), XXXXmmmmCCCCoooommmmbbbbooooBBBBooooxxxxSSSSeeeelllleeeeccccttttIIIItttteeeemmmm(3). Page 1 (printed 4/6/01)